package com.bxj.wxtt.dubbo;

import com.bxj.wxtt.api.domain.Adv;
import com.bxj.wxtt.api.domain.AdvEx;
import com.bxj.wxtt.api.service.IAdvExDubboService;
import com.bxj.wxtt.service.AdvExService;
import com.ifeng.matrix.common.domain.PageResult;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

/**
 * 由MyBatis Generator工具自动生成 2018-07-18 15:38:15
 */
@Component("advExDubboService")
public class AdvExDubboServiceImpl implements IAdvExDubboService {
    @Resource
    AdvExService advExService;

    public List<Adv> getAdvRelationList(AdvEx advEx) {
        return advExService.getAdvRelationList(advEx);
    }

    public PageResult<AdvEx> getAdvRelationPage(AdvEx advEx) {
        return advExService.getAdvRelationPage(advEx);
    }

    public int insert(AdvEx advEx) {
        int ret = advExService.insert(advEx);
        return ret;
    }

}